<!DOCTYPE html>
<html>
<head>
<title>Search Box Example 1</title>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<!-- CSS styles for standard search box -->
<style type="text/css">
        #tfheader1{
		background-color:#c3dfaf;
                padding: 10px;
            }
	#tfheader{
		background-color:#c3dfef;
	}
	#tfnewsearch{
		float:left;
                margin-left: 100px;
		padding:20px;
	}
	.tftextinput{
		margin: 0;
		padding: 5px 50px;
		font-family: Arial, Helvetica, sans-serif;
		font-size:14px;
		border:1px solid #0076a3; border-right:1px;
		border-top-left-radius: 5px 5px;
		border-bottom-left-radius: 5px 5px;
                border-bottom-right-radius: 5px 5px;
                border-top-right-radius: 5px 5px;
                
	}
	.tfbutton {
		margin-top: 50px;
		padding: 5px 15px;
		font-family: Arial, Helvetica, sans-serif;
		font-size:14px;
		outline: none;
		cursor: pointer;
		text-align: center;
		text-decoration: none;
		color: #ffffff;
		border: solid 1px #0076a3; border-right:0px;
		background: #0095cd;
		background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
		background: -moz-linear-gradient(top,  #00adee,  #0078a5);
		border-top-right-radius: 5px 5px;
		border-bottom-right-radius: 5px 5px;
                border-top-left-radius: 5px 5px;
                border-bottom-left-radius:  5px 5px;
	}
	.tfbutton:hover {
		text-decoration: none;
		background: #007ead;
		background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
		background: -moz-linear-gradient(top,  #0095cc,  #00678e);
	}
	/* Fixes submit button height problem in Firefox */
	.tfbutton::-moz-focus-inner {
	  border: 0;
	}
	.tfclear{
		clear:both;
	}
        
</style>
<link rel="stylesheet" href="../../../assets/backend/css/screen.css" type="text/css" media="screen" title="default" />
</head>
<body style="font-size: 14px">
	<!-- HTML for SEARCH BAR -->
	<div id="tfheader">
		<form id="tfnewsearch" method="post" action="/manage/story/search">
                        <input type="hidden" class="tftextinput" name="search" value="search">
		        <input type="text" class="tftextinput" name="q" size="21" maxlength="120">
                        <input type="submit" value="Tìm" class="tfbutton">
                        <br/>
                        <label> Nhập tiêu đề bộ truyện cần cập nhật</label>
		</form>
                          
	<div class="tfclear"></div>
        </div>
        <br/><br/>
        <?if(isset($data)){?>
        <div>
               <div id="table-content">
				<!--  start product-table ..................................................................................... -->
				<form id="mainform" action="">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-check"><a id="toggle-all" ></a> </th>
					<th class="table-header-repeat line-left minwidth-1"><a href="">ID</a>	</th>
					<th class="table-header-repeat line-left minwidth-1"><a href="">Tên Bộ Truyện</a></th>
					<th class="table-header-repeat line-left"><a href="">Chuyên Mục</a></th>
					<th class="table-header-repeat line-left"><a href="">Người Tạo</a></th>
					<th class="table-header-repeat line-left"><a href="">Ngày Tạo</a></th>
					
                                        
                                        <th class="table-header-options line-left"><a href="">Thao tác</a></th>
				</tr>
                                <?php foreach($data as $item){?>
                            
				<tr>
                                        
					<td><input  type="checkbox"/></td>
                                       
                                        <td style="color: #cc00cc"><?=$item['id']?></td>
					<td><?=$item['name']?></td>
					<td><?=$item['category_id']?></td>
					
                                        <td><?=$item['member_id']?></td>
                                        <td><?=$item['create_date']?></td>
					<td class="options-width">
					<a href="/manage/story/modify/?id=<?=$item['id']?>" title="Sữa" class="icon-1 info-tooltip"></a>
                                        <a href="/manage/story/del/?id=<?=$item['id']?>" title="Xóa" class="icon-2 info-tooltip" ></a>
					</td>
				</tr>
                                <?php }?>
				
				</table>
				<!--  end product-table................................... --> 
				</form>
			</div>
              
	
        <?}?>
	
</body>
</html>

